#ifndef FIND_H
#define FIND_H

namespace Finder{
    template <class T, class Key>
        T * find( T *p_begin,  T *p_end, const Key &k){
            if(p_begin<p_end && p_begin && p_end)
                for(p_begin; p_begin<=p_end; p_begin++)
                    if(*p_begin == k)
						return (T *)p_begin; 	
			return NULL;       
	}
}

#endif // FIND_H
